package by.home;


public class Treasure {
    private final int positionX;
    private final int positionY;

    public Treasure(int treasurePositionX, int treasurePositionY) {
        this.positionX = treasurePositionX;
        this.positionY = treasurePositionY;
    }


    public int getPositionX() {
        return positionX;
    }

    public int getPositionY() {
        return positionY;
    }
}
